package com.ruoyi.back.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线下报名人信息对象 offline_registration
 * 
 * @author luguanqing
 * @date 2021-04-13
 */
@ApiModel("线下报名人实体")
public class OfflineRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "主键id")
    private String id;

    /** 报名人姓名 */
    @Excel(name = "报名人姓名")
    @ApiModelProperty(value = "报名人姓名")
    private String applicant;

    /** 报名人手机号 */
    @Excel(name = "报名人手机号")
    @ApiModelProperty(value = "报名人手机号")
    private String phonenumber;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty(value = "公司名称")
    private String company;

    /** 邮箱地址 */
    @Excel(name = "邮箱地址")
    @ApiModelProperty(value = "邮箱地址")
    private String email;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicant", getApplicant())
            .append("phonenumber", getPhonenumber())
            .append("company", getCompany())
            .append("email", getEmail())
            .toString();
    }
}
